package tw.asap.plus.ui;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import tw.asap.plus.utils.AppManager;

/**
 * Created by Yax.
 * Date: 15/11/15
 * Time: 下午5:02
 * Description:
 */
public class AsapBaseActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        AppManager.getAppManager().addActivity(this);
    }

    @Override
    protected void onResume() {
        super.onResume();
    }

    @Override
    protected void onPause() {
        super.onPause();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        AppManager.getAppManager().finishActivity(this);
    }
}
